package com.stars.entity.system;


import javax.validation.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import io.swagger.annotations.ApiModelProperty;
import com.stars.common.base.BaseUUID;
/**
 * @Title: 资源与组织关系实体
 * @author dj
 * @date 2019-10-17 20:57:37
 * @version V1.0
 *
 */
@Data
@Table(name = "SYSTEM_PER_ORG")
@EqualsAndHashCode(callSuper = false)
public class SystemPerOrgEntity extends BaseUUID{

	/**资源id*/
    @NotBlank(message="资源id不能为空!")
    @Column(name = "PER_ID")
    @ApiModelProperty(value = "资源id",name ="perId")
	private String perId;
	/**组织id*/
    @NotBlank(message="组织id不能为空!")
    @Column(name = "ORG_ID")
    @ApiModelProperty(value = "组织id",name ="orgId")
	private String orgId;


}